package com.cws.web;

import java.util.List;
import java.util.Map;

public class GridResponseData<T> {
	//需要显示的数据集  
    private List<?> rows;  
  
    //当前页  
    private int page;  
      
    //数据总数  
    private int records;  
      
    //可显示的页数  
    private int total;  
      
    //自定义数据  
    private Map<String, Object> userdata;
    
    public GridResponseData(){
    	
    }
    
	



	public GridResponseData(List<?> rows, int page, int records, int total) {
		super();
		this.rows = rows;
		this.page = page;
		this.records = records;
		this.total = total;
	}





	public List<?> getRows() {
		return rows;
	}

	public void setRows(List<?> rows) {
		this.rows = rows;
	}


	public Map<String, Object> getUserdata() {
		return userdata;
	}

	public void setUserdata(Map<String, Object> userdata) {
		this.userdata = userdata;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}


	public int getRecords() {
		return records;
	}

	public void setRecords(int records) {
		this.records = records;
	}


	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}  
    
    
    
    
    
    
    
    
    
    
    
    
}
